<?php

$sql = 'SELECT *
        FROM wohnungen';

$result = mysql_query($sql);

echo ('<table align="center">');
while ($row = mysql_fetch_array($result))
	echo ("
		<tr>
			<td><a href=?page=wohnung&id=".$row["wohnungid"].">".$row["adresse"]."</td>
		</tr>");
echo ("</table>");
